import os.path

import pefile

pefile.fast_load = True
exe_pe = pefile.PE(os.path.realpath('./dll/api-ms-win-shcore-scaling-l1-1-1.dll'), fast_load=True)
_exe_machine_type = exe_pe.FILE_HEADER.Machine
exe_pe.close()
print(_exe_machine_type)
